#pragma once

#include "WSHeaders.h"
#include "WSBaseTypes.h"
#include "WSImage.h"

WS_NS_CORE_BEGIN

class WS_DLL WSTexture
{
	WSReadOnlyProperty(int, Width);
	WSReadOnlyProperty(int, Height);
public:
	WSTexture(WSImage* image);
	
	void Use();
	void Draw(const WSPoint& point);
private:
	WSTexture();
private:
	GLuint _glTexID;
};

WS_NS_CORE_END